package com.hzw.saas.api.email.enums;

/**
 * @author zzl
 * @since 09/08/2021
 */
public enum EmailStatusEnum {

    SENT_SUCCESS(1,"发送成功"),
    SENT_FAILED(1,"发送失败"),
    DRAFT(1,"草稿"),
    ;

    private final Integer code;
    private final String text;

    EmailStatusEnum(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    public Integer getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
